import React from "react";
import {
  UserOutlined,
  DesktopOutlined,
  GlobalOutlined,
} from "@ant-design/icons";
import Map from "../page/subpage/Map/Map";
import Admin from "../page/subpage/Admin/Admin";
import Bus from "../page/subpage/Bus/Bus";
import Station from "../page/subpage/Station/Station";
import Personal from "../page/subpage/Personal/Personal";
import Line from "../page/subpage/Line/Line";

/**
 * @description 网页菜单配置
 */
const mainMenu = [
  {
    key: "sub1",
    title: "地图",
    icon: <GlobalOutlined />,
    item: [
      {key: "1", text: "地图", content: <Map />},
    ],
  },
  {
    key: "sub2",
    title: "信息管理",
    icon: <DesktopOutlined />,
    item: [
      {key: "2", text: "车辆管理", content: <Bus />},
      {key: "3", text: "站点管理", content: <Station />},
      {key: "4", text: "路线管理", content: <Line />},
    ],
  },
  {
    key: "sub3",
    title: "管理员信息",
    icon: <UserOutlined />,
    item: [
      {key: "5", text: "个人资料", content: <Personal />},
      {key: "6", text: "信息管理", content: <Admin />},
    ],
  },
];


export {
  mainMenu,
};